package com.aiiju.core.test;

import org.apache.commons.lang.StringUtils;
import org.junit.Test;

import com.aiiju.core.service.tool.ParseService;
import com.aiiju.core.service.tool.ReadService;

public class IODemo {

	@Test
	public void readTxdfdedddt2() throws Exception {
		String fileContent = ReadService.readFile("C:\\Users\\aiju\\AppData\\Local\\Temp\\f2e7bba2087e46ad8e302e13b99df41f.txt");
		System.err.println(fileContent);
		
		StringBuilder sb = new StringBuilder(fileContent);
		if(StringUtils.isNotBlank(fileContent)) {
			
			String parseTxt = new ParseService().parseTxt(sb.toString());
			System.out.println(parseTxt);
		}
	}
}
